package com.yjkf.zh.admin.service;

import com.yjkf.zh.admin.model.SysDevice;
import com.yjkf.zh.core.page.PageRequest;
import com.yjkf.zh.core.page.PageResult;
import com.yjkf.zh.core.service.CurdService;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface SysDeviceService extends CurdService<SysDevice>{

    //根据用户ID查询设备属性列表
    List<SysDevice> findDevices(@Param(value="id") java.lang.Long id);

    PageResult findPage2(PageRequest pageRequest,Long userId);

    PageResult findPageDeviceForAdmin(PageRequest pageRequest);

 //int saveForAdmin(SysDevice sysDevice);


}
